package com.seek.model.entity;

/**
 * TInter entity. @author MyEclipse Persistence Tools
 */

@SuppressWarnings("serial")
public class TInter  implements java.io.Serializable {


    // Fields    
     private String id;
     private String name;
     private int ver;
     private String descript;
     private String className;
     private String methodName;
     private Integer needLogin;
     private Integer zfbz;
     private Integer isUsed;

    // Constructors

    /** default constructor */
    public TInter() {
    }

	/** minimal constructor */
    public TInter(String id) {
        this.id = id;
    }

    public String getId() {
        return this.id;
    }
    
    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return this.name;
    }
    
    public void setName(String name) {
        this.name = name;
    }

    public String getDescript() {
        return this.descript;
    }
    
    public void setDescript(String descript) {
        this.descript = descript;
    }

    public String getClassName() {
        return this.className;
    }
    
    public void setClassName(String className) {
        this.className = className;
    }

    public String getMethodName() {
        return this.methodName;
    }
    
    public void setMethodName(String methodName) {
        this.methodName = methodName;
    }

    public Integer getNeedLogin() {
    	if (needLogin == null)
    		needLogin = 0;
        return this.needLogin;
    }
    
    public void setNeedLogin(Integer needLogin) {
        this.needLogin = needLogin;
    }

	public Integer getZfbz() {
		return zfbz;
	}

	public void setZfbz(Integer zfbz) {
		this.zfbz = zfbz;
	}

	public int getVer() {
		if (ver <= 0)
			ver = 1000;
		return ver;
	}

	public void setVer(int ver) {
		this.ver = ver;
	}

	public Integer getIsUsed() {
		return isUsed;
	}

	public void setIsUsed(Integer isUsed) {
		this.isUsed = isUsed;
	}
}